package cn.outsourcing.supermarket.converter.transform;

/**
 * 字符串数字转布尔
 *
 * @author gzkemays
 * @since 2021/11/4 2:42
 */
public class StringToBooleanTransform {
  /**
   * String 转 boolean
   *
   * @param value 转换对象
   * @return 数值
   */
  public static Boolean booleanToInteger(String value) {
    return value.equals("1");
  }
}
